package com.sinven.service;


import com.sinven.common.ActionResult;
import com.sinven.common.Pager;
import com.sinven.pojo.Student;

import java.util.List;

public interface StudentService {

    ActionResult<List<Student>> queryStudent(Integer page, int pageSize);

    boolean updateStudent(Student student);

    boolean addStudent(Student student);

    boolean deleteStudent(long sid);

    Student queryStudent(long sid);

    Pager<Student> queryStudents(Long curPage);
}
